package cn.wangqi.personal.service;

import cn.wangqi.personal.domain.Major;
import cn.wangqi.personal.util.Page;

import java.util.List;

/**
 * Created by admin on 2017/9/12.
 */
public interface IMajorService {
    List<Major> listMajor(Integer collageId, Page page);

    int countMajor(Integer collageId);

    void saveMajor(Major major);

    void deleteMajorById(int majorId);

    Major findMajorById(int majorId);

    void updateMajor(Major major);
}
